<!doctype html>
<html>
<head>
    <include file="public/head"/>
    <title>客服系统后台</title>
    <meta name="description" content="客服系统">
    <meta name="keywords" content="客服系统">
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>客服系统后台</a></li>
    </ul>
    <div class="wrap">
        <ul class="nav nav-tabs">
            <li class="active"><a href="{:cmf_plugin_url('LyzKefuChat://AdminIndex/index')}">客服系统设置</a></li>
            <li class="active"><a href="{:cmf_plugin_url('LyzKefuChat://AdminIndex/kefuList')}">客服列表</a></li>
            <li class="active"><a href="{:cmf_plugin_url('LyzKefuChat://AdminIndex/kefuAdd')}">客服添加</a></li>
            <li class="active"><a href="{:cmf_plugin_url('LyzKefuChat://AdminIndex/status')}">客服系统服务开启教程</a></li>
        </ul>
        <form method="post" class="js-ajax-form" action="#">
            <div class="table_list">
                <table width="100%" class="table table-hover">
                    <thead>
                    <tr>
                        <th width="50">客服ID</th>
                        <th>客服名称</th>
                        <th>客服账号</th>
                        <th>客服密码</th>
                        <th>客服状态</th>
                        <th>注册时间</th>
                        <th>接待人数</th>
                        <th width="120">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <foreach name="user_list" item="vo">
                        <tr>
                            <td>{$vo.user_id}</td>
                            <td>{$vo.user_nickname}</td>
                            <td>{$vo.user_name}</td>
                            <td>{$vo.user_pwd}</td>
                            <td>
                                <if condition="$vo.user_status==1">正常<else/>禁止</if>
                            </td>
                            <td>{$vo.create_time}</td>
                            <td>{$vo.user_num}</td>
                            <td>
                                <a href="{:cmf_plugin_url('LyzKefuChat://AdminIndex/kefuEdit',array('user_id'=>$vo.user_id))}">修改</a>|
                                <a href="{:cmf_plugin_url('LyzKefuChat://AdminIndex/kefuDel',array('user_id'=>$vo.user_id))}" class="js-ajax-delete">删除</a>
                            </td>
                        </tr>
                    </foreach>
                    </tbody>
                </table>
            </div>
        </form>
    </div>
</div>
<include file="public/scripts"/>
</body>
</html>